OPC Studio User's Guide and Reference
Explicit Type Conversion Operator (EasyDAItemChangedEventArgs<TValue>)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Generic Namespace > EasyDAItemChangedEventArgs<TValue> Class : Explicit Type Conversion Operator
The typed event arguments to be converted.
Converts typed event arguments to a corresponding typed result object, DAVtqResult<TValue>.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Operator Narrowing CType( _
   ByVal eventArgs As EasyDAItemChangedEventArgs(Of TValue) _
) As DAVtqResult(Of TValue)
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public DAVtqResult<TValue> operator explicit( 
   EasyDAItemChangedEventArgs<TValue> eventArgs
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
DAVtqResult<TValue^>^ operator explicit( 
   EasyDAItemChangedEventArgs<TValue^>^ eventArgs
)

Parameters

eventArgs
The typed event arguments to be converted.

Return Value

The typed result object that corresponds to the event arguments. null if the event arguments passed in were null.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also